package com.cjm.one.model.system.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.cjm.one.model.base.BaseEnum;

public enum RoleStatusEnum implements BaseEnum {
    DISABLE(0, "禁用"),
    ENABLE(1, "启用");

    @EnumValue
    private  int code;
    private  String message;
    RoleStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
